FROM frolvlad/alpine-oraclejre8:slim

COPY kettle-scheduler-starter/target/kettle-scheduler-starter-1.0-SNAPSHOT.jar /root/kettle-scheduler-starter.jar
COPY kettle-scheduler-starter/plugins/pentaho-mongodb-plugin-8.3.0.0-371.jar /root/plugins/pentaho-mongodb-plugin-8.3.0.0-371.jar
COPY kettle-scheduler-starter/plugins/kettle-json-plugin-core-8.3.0.0-371.jar /root/plugins/kettle-json-plugin-core-8.3.0.0-371.jar
COPY kettle-scheduler-starter/plugins/pdi-core-plugins-impl-8.3.0.0-371.jar /root/plugins/pdi-core-plugins-impl-8.3.0.0-371.jar
CMD ["java", "-jar", "/root/kettle-scheduler-starter.jar"]